<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>{{$config['title']}}</title>
    <link rel="stylesheet" href="{{@asset('css/reset.css')}}"/>
    <link rel="stylesheet" href="{{@asset('css/index.css')}}"/>
    <link rel="stylesheet" href="{{@asset('css/flexslider.css')}}"/>
    <script src="{{@asset('js/prefixfree.min.js')}}"></script>
    <script src="{{@asset('js/jquery-1.11.1.js')}}"></script>
    <script src="{{@asset('js/index.js')}}"></script>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <meta name="keywords" content="{{$config['keywords']}}"/>
    <meta name="description" content="{{$config['description']}}"/>
    <meta name="baidu-site-verification" content="x1XYMzRXUS" />
</head>
<body>
<div class="wrapper">
    <div class="sup-wrapper">
            @include('common.header')
            <div class="Carousel flexslider" id="demo01">
                <ul class="slides">
                    @foreach($banner as $k => $v)
                        <li>
                            <a href="{{url('article/'.$v['id'])}}"><img src="{{$v['titlepic']}}"></a>
                            <div>
                                <span>{{$v['title']}}</span>
                                <span></span>
                            </div>
                        </li>
                    @endforeach
                </ul>
            </div>

            <section class="main_show">
                <div class="NavGroup"><img src="image/hot.png"> <a href="http://bbs.haotoufa.com/youhui.html">植发优惠</a>
                    <a href="http://www.haotoufa.com/zhifa/">植发知识</a>
                    <a href="http://faxing.haotoufa.com/">发型设计</a>
                    <div class="list">
                        @foreach($hotData as $k => $v)
                            @include('common.list_member')
                        @endforeach
                        <div class="more">
                            <div onclick="moreHot($(this))"><span>更多</span><img src="{{@asset('image/much_right.png')}}"></div>
                        </div>
                    </div>
                </div>
                <div class="topImg">
                    <a href="{{url('article/'.$faXingData['banner']['id'])}}"><img src="{{$faXingData['banner']['titlepic']}}"></a>
                    <img src="{{asset('image/hairstyle.png')}}">
                    <p>{{$faXingData['banner']['title']}}</p>
                </div>
                <div class="list">
                    @foreach($faXingData['data'] as $k => $v)
                        @include('common.list_member')
                    @endforeach
                    <div class="more">
                        <div onclick="moreFaXing($(this))"><span>更多</span><img src="image/much_right.png"></div>
                    </div>
                </div>
                <!--植发-->
                <div class="topImg">
                    <a href="{{url('article/'.$zhiFaData['banner']['id'])}}"><img src="{{$zhiFaData['banner']['titlepic']}}"></a>
                    <img src="{{asset('image/transplant.png')}}">
                    <p>{{$zhiFaData['banner']['title']}}</p>
                </div>
                <div class="list">
                    @foreach($zhiFaData['data'] as $k => $v)
                        @include('common.list_member')
                    @endforeach
                    <div class="more">
                        <div onclick="moreZhiFa($(this))"><span>更多</span><img src="image/much_right.png"></div>
                    </div>
                </div>
                <!--植发-->
                <div class="topImg">
                    <a href="{{url('article/'.$tuoFaData['banner']['id'])}}"><img src="{{$tuoFaData['banner']['titlepic']}}"></a>
                    <img src="{{asset('image/hairlose.png')}}">
                    <p>{{$tuoFaData['banner']['title']}}</p>
                </div>
                <div class="list">
                    @foreach($tuoFaData['data'] as $k => $v)
                        @include('common.list_member')
                    @endforeach
                    <div class="more">
                        <div onclick="moreTuoFa($(this))"><span>更多</span><img src="image/much_right.png"></div>
                    </div>
                </div>

                <div class="topImg">
                    <a href="{{url('article/'.$yangFaData['banner']['id'])}}"><img src="{{$yangFaData['banner']['titlepic']}}"></a>
                    <img src="{{asset('image/haircare.png')}}">
                    <p>{{$yangFaData['banner']['title']}}</p>
                </div>
                <div class="list">
                    @foreach($yangFaData['data'] as $k => $v)
                        @include('common.list_member')
                    @endforeach
                    <div class="more">
                        <div onclick="moreYangFa($(this))"><span>更多</span><img src="image/much_right.png"></div>
                    </div>
                </div>

            </section>

            @include('common.footer')

            <script src="{{@asset('js/jquery.flexslider.js')}}"></script>
            <script>$('#demo01').flexslider({});</script>
        </div>
</div>
</body>
</html>